.rd-btn{
	border: @btn-border-width solid transparent;
	cursor: pointer;
	outline: 0;
	display: inline-block;
	text-align: center;
	vertical-align: top;
	font-weight: normal;
	margin: 2px 5px; 
	.button-type(@btn-color, @btn-bgcolor, @btn-hover-bgcolor, @btn-active-bgcolor, @btn-border-color);
	.button-size(0, 10px, 13px, 30px, 2px);
	
	>i+span{
		margin-left: 4px;	
	}

	>span + i{
		margin-left: 4px;
	}

	.fa{
		font-weight: bold;
		width: 13px;
	}
	
	&.rd-btn-disabled{
		.button-type(@btn-disabled-color, @btn-disabled-bgcolor,
			 @btn-disabled-hover-bgcolor, @btn-disabled-active-bgcolor,
			  @btn-disabled-border-color);
		cursor: not-allowed;
	}

	/* 创建按钮 */
	&.rd-btn-primary{
		.button-type(@btn-primary-color, @btn-primary-bgcolor,
			 @btn-primary-hover-bgcolor, @btn-primary-active-bgcolor,
			  @btn-primary-border-color);
	}
	
	/*更新按钮*/
	&.rd-btn-danger{
		.button-type(@btn-danger-color, @btn-danger-bgcolor,
			 @btn-danger-hover-bgcolor, @btn-danger-active-bgcolor,
			  @btn-danger-border-color);
	}
	

	&.rd-btn-success{
		.button-type(@btn-success-color, @btn-success-bgcolor,
			 @btn-success-hover-bgcolor, @btn-success-active-bgcolor,
			  @btn-success-border-color);
	}
	

	&.rd-btn-warning{
		.button-type(@btn-warning-color, @btn-warning-bgcolor,
			 @btn-warning-hover-bgcolor, @btn-warning-active-bgcolor,
			  @btn-warning-border-color);
	}
	

	&.rd-btn-info{
		.button-type(@btn-info-color, @btn-info-bgcolor,
			 @btn-info-hover-bgcolor, @btn-info-active-bgcolor,
			  @btn-info-border-color);
	}

	&.rd-btn-inverse{
		.button-type(@btn-inverse-color, @btn-inverse-bgcolor,
			 @btn-inverse-hover-bgcolor, @btn-inverse-active-bgcolor,
			  @btn-inverse-border-color);
	}
	
	/*超大尺寸按钮*/
	&.rd-btn-xl{
		.button-size(0, 20px, 18px, 50px, 2px);
	}

	/*大尺寸按钮*/
	&.rd-btn-lg{
		.button-size(0, 15px, 15px, 40px, 2px);
	}

	/*小尺寸按钮*/
	&.rd-btn-sm{
		.button-size(0, 12px, 12px, 20px, 2px);
	}
}